<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
<h:head>
    <script name="jquery/jquery.js" library="primefaces"></script>
    <title>Register Employee</title>
</h:head>
<h:form>
    <p:growl id="messages"/>
    <p:panelGrid columns="2">
        <p:outputLabel value="Enter Employee Name:"/>
        <p:inputText value="#{employeeMB.employee.employeeName}"/>
        <p:outputLabel value="Enter Employee Hire Date:"/>
        <p:calendar value="#{employeeMB.employee.employeeHireDate}"/>
        <p:outputLabel value="Enter Employee Salary:"/>
        <p:inputText value="#{employeeMB.employee.employeeSalary}"/>
    </p:panelGrid>
    <p:commandButton value="Register" action="#{employeeMB.register}" update="messages"/>
</h:form>
</html>